package com.desay.pangoo.itmt.repository.rag;


import com.desay.pangoo.itmt.entity.rag.MessageRelationTpnEntity;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.stereotype.Repository;

import java.util.Collection;
import java.util.List;

/**
 * @author uids1175
 */
@Repository
public interface MessageRelationTPNEntityRepository extends JpaSpecificationExecutor<MessageRelationTpnEntity>, PagingAndSortingRepository<MessageRelationTpnEntity, Long> {

    List<MessageRelationTpnEntity> findAllByProductDemandIdIn(Collection<Long> productDemandIds);

}
